<?php


namespace App\Models\Constant;


class Errors
{
    const OK = [
        'code'=> 200,
        'msg' => 'Success'
    ];
    const COK = [
        'code'=> 201,
        'msg' => 'Created'
    ];
    const DOK = [
        'code'=> 204,
        'msg' => 'Delete'
    ];
    const UOK = [
        'code'=> 205,
        'msg' => 'Updated'
    ];
    const FAILED = [
        'code'=> 400,
        'msg' => 'Invalid Request'
    ];
    const UNAUTH = [
        'code'=> 401,
        'msg' => 'Unauthorized'
    ];
    const FORBIDDEN = [
        'code'=> 403,
        'msg' => 'Forbidden'
    ];
    const NOT_FOUND = [
        'code'=> 404,
        'msg' => 'Not Found'
    ];
    const ERROR = [
        'code'=> 500,
        'msg' => 'Internal Server Error'
    ];

}